// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'Id',
        footer: "Foots",
        cnName: '仓库定义表',
        name: 'FLH_WareHouseDefinitionModel',
        url: "/FLH_WareHouseDefinitionModel/",
        sortName: "Id"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {"warehousedefinitionCode":"","warehousename":"","warehousetype":"","warehousemanager":"","warehouseaddress":"","warehouseaddressdesc":"","IsDelete":"","CreateTime":""};
    const editFormOptions = [[{"title":"仓库编号","required":true,"field":"warehousedefinitionCode","type":"text"}],
                              [{"title":"仓库名称","required":true,"field":"warehousename","type":"text"}],
                              [{"dataKey":"WareHouseType","data":[],"title":"仓库类型","required":true,"field":"warehousetype","type":"select"}],
                              [{"title":"仓库管理","required":true,"field":"warehousemanager","type":"text"}],
                              [{"title":"仓库地址","required":true,"field":"warehouseaddress","type":"text"}],
                              [{"title":"仓库描述","required":true,"field":"warehouseaddressdesc","type":"textarea"}],
                              [{"dataKey":"IsDelete","data":[],"title":"删除标识","required":true,"field":"IsDelete","type":"radio"}],
                              [{"title":"创建时间","required":true,"field":"CreateTime","type":"date"}]];
    const searchFormFields = {};
    const searchFormOptions = [];
    const columns = [{field:'Id',title:'编号',type:'bigint',sort:true,width:110,readonly:true,require:true,align:'left'},
                       {field:'CreateUserId',title:'CreateUserId',type:'bigint',width:110,hidden:true,readonly:true,align:'left'},
                       {field:'UpdateUserId',title:'UpdateUserId',type:'bigint',width:110,hidden:true,align:'left'},
                       {field:'CreatedUserName',title:'CreatedUserName',type:'string',width:110,hidden:true,readonly:true,align:'left'},
                       {field:'UpdatedUserName',title:'UpdatedUserName',type:'string',width:110,hidden:true,align:'left'},
                       {field:'CreateTime',title:'创建时间',type:'datetime',width:150,require:true,align:'left'},
                       {field:'UpdateTime',title:'UpdateTime',type:'datetime',width:150,hidden:true,align:'left'},
                       {field:'IsDelete',title:'删除标识',type:'sbyte',bind:{ key:'IsDelete',data:[]},width:110,hidden:true,require:true,align:'left'},
                       {field:'RedundancyColumn1',title:'RedundancyColumn1',type:'string',width:120,hidden:true,align:'left'},
                       {field:'RedundancyColumn2',title:'RedundancyColumn2',type:'string',width:120,hidden:true,align:'left'},
                       {field:'RedundancyColumn3',title:'RedundancyColumn3',type:'string',width:120,hidden:true,align:'left'},
                       {field:'RedundancyColumn4',title:'RedundancyColumn4',type:'string',width:120,hidden:true,align:'left'},
                       {field:'RedundancyColumn5',title:'RedundancyColumn5',type:'string',width:120,hidden:true,align:'left'},
                       {field:'warehousedefinitionCode',title:'仓库编号',type:'string',width:110,require:true,align:'left'},
                       {field:'warehousename',title:'仓库名称',type:'string',width:110,require:true,align:'left'},
                       {field:'warehousetype',title:'仓库类型',type:'string',bind:{ key:'WareHouseType',data:[]},width:110,require:true,align:'left'},
                       {field:'warehousemanager',title:'仓库管理',type:'string',width:110,require:true,align:'left'},
                       {field:'warehouseaddress',title:'仓库地址',type:'string',width:110,require:true,align:'left'},
                       {field:'warehouseaddressdesc',title:'仓库描述',type:'string',width:120,require:true,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}